using UnityEngine;

/// <summary>
/// 雪花豌豆 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/SnowPeaData")]
public class SnowPeaData : ShooterData
{
    [Header("雪花特性")]
    [Tooltip("减速百分比（0.0-1.0）")]
    [Range(0.0f, 1.0f)]
    public float SlowPercentage = 0.5f;
    
    [Tooltip("减速持续时间（秒）")]
    public float SlowDuration = 3f;

    private void OnEnable()
    {
        Type = PlantType.SnowPea;
    }
}

